8.7
HIGH CVSS 3.1
CVE-2024-7558
Juju Charm Predictable Authentication Secret Information Disclosure
Description

JUJU_CONTEXT_ID is a predictable authentication secret. On a Juju machine (non-Kubernetes) or Juju charm container (on Kubernetes), an unprivileged user in the same network namespace can connect to an abstract domain socket and guess the JUJU_CONTEXT_ID value. This gives the unprivileged user access to the same information and tools as the Juju charm.

INFO

Published Date :

Oct. 2, 2024, 11:15 a.m.

Last Modified :

Aug. 26, 2025, 5:42 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2024-7558 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Canonical juju
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
Solution
This information is provided by the 3rd party feeds.
  • Update the affected govulncheck-vulndb package.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-7558.

URL Resource
https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4 Exploit Patch Vendor Advisory
https://www.cve.org/CVERecord?id=CVE-2024-7558 Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-7558 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-7558 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-7558 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-7558 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Aug. 26, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-330
    Added CWE CWE-335
    Added CPE Configuration OR *cpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* versions up to (excluding) 2.9.51 *cpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* versions from (including) 3.1.0 up to (excluding) 3.1.10 *cpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* versions from (including) 3.2.0 up to (excluding) 3.2.4 *cpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* versions from (including) 3.3.0 up to (excluding) 3.3.7 *cpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* versions from (including) 3.4 up to (excluding) 3.4.6 *cpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* versions from (including) 3.5.0 up to (excluding) 3.5.4
    Added Reference Type Canonical Ltd.: https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4 Types: Exploit, Patch, Vendor Advisory
    Added Reference Type Canonical Ltd.: https://www.cve.org/CVERecord?id=CVE-2024-7558 Types: Third Party Advisory
  • CVE Received by [email protected]

    Oct. 02, 2024

    Action Type Old Value New Value
    Added Description JUJU_CONTEXT_ID is a predictable authentication secret. On a Juju machine (non-Kubernetes) or Juju charm container (on Kubernetes), an unprivileged user in the same network namespace can connect to an abstract domain socket and guess the JUJU_CONTEXT_ID value. This gives the unprivileged user access to the same information and tools as the Juju charm.
    Added Reference Canonical Ltd. https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4 [No types assigned]
    Added Reference Canonical Ltd. https://www.cve.org/CVERecord?id=CVE-2024-7558 [No types assigned]
    Added CWE Canonical Ltd. CWE-337
    Added CWE Canonical Ltd. CWE-340
    Added CWE Canonical Ltd. CWE-1391
    Added CVSS V3.1 Canonical Ltd. AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.7
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact